import { createApp } from 'vue'
import App from './App.vue'

// 清除浏览器默认样式
import '@/reset.css';
// element ui库
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import locale from 'element-plus/lib/locale/lang/zh-cn'//分页翻译中文
import * as Elicons from '@element-plus/icons-vue';
// router
import router from '@/router'
// store
import store from '@/store'


const app= createApp(App);
Object.keys(Elicons).forEach((key) => {
  app.component(key, Elicons[key]);
});
app.use(store).use(router).use(ElementPlus,{locale}).mount('#app')


console.log('当前运行环境',import.meta.env)
